# coding = utf - 8
import sys
import time

# 小方法实验
# for i in range(10):
#     sys.stdout.write("#")
#     time.sleep(1)

f = open("shuzi.txt", "a", encoding="utf-8")
f.seek(10)
f.truncate(20)

